

#[cfg(not(target_os = "android"))]
use bv3_back::error::AppErr;

#[cfg(not(target_os = "android"))]
#[tokio::main]
async fn main() -> Result<(), AppErr> {
    use log::{info, LevelFilter};
    use simple_logger::SimpleLogger;
    SimpleLogger::new()
    .with_local_timestamps()
    .with_level(LevelFilter::Info).init().unwrap();

    info!("app run");
    bv3_back::run("./").await?;

    Ok(())
}

#[cfg(target_os = "android")]
fn main() {}
